<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <meta name="author" content="李愧愧">
    <title></title>
    <style>
        ul{
            list-style: none;
            width: 560px;
            height: 230px;
            border: 1px solid black;
            padding: 0;
            margin: 0 auto;
        }
        img{
            width: 100px;
            height: 100px; 
            opacity: 0.3;
        }
        li{
            float: left;
            border: 1px solid gray;
            margin: 5px;
        }
        img:hover{
            opacity: 1;
           
        }
    </style>
</head>
<body>
    
    <div class="box">
        <ul>
            <li>
                <img src="./img/1.jpg" alt="">
            </li>
            <li>
                <img src="./img/2.jpg" alt="">
            </li>
            <li>
                <img src="./img/3.jpg" alt="">
            </li>
            <li>
                <img src="./img/4.jpg" alt="">
            </li>
            <li>
                <img src="./img/5.jpg" alt="">
            </li>
            <li>
                <img src="./img/6.jpg" alt="">
            </li>
            <li>
                <img src="./img/7.jpg" alt="">
            </li>
            <li>
                <img src="./img/8.jpg" alt="">
            </li>
            <li>
                <img src="./img/9.jpg" alt="">
            </li>
            <li>
                <img src="./img/10.jpg" alt="">
            </li>
        </ul>
    </div>
<script>
    
</script>
</body>
</html>